package com.pai4j.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum RetryErrorTypeEnum {
    DB_ERROR(1, "数据库错误"),
    SERIALIZATION_ERROR(2, "序列化错误"),
    VALIDATION_ERROR(3, "校验错误"),
    OTHER(99, "其他错误");

    private final Integer code;
    private final String message;
}

